// Import any other script files here, e.g.:
// import * as myModule from "./mymodule.js";
globalThis.libgame=window
globalThis.cc_Game=window
import("./mh_c_camera.js")
import ("./mh_miner_eff.js")
import("./MinerEventAddDay.js")
import("./MinerHoleShootHook.js")
import("./IMath.js")
import("./MinerEffectGlowEff.js")
import("./MinerHoleRopeTransition.js")
import("./MinerHoleHookGetMiner.js")
import("./ConsoleBase.js")
import("./ConsoleAddMessage.js")
import("./MinerHoleEventGoShopSence.js")
import("./HintBase.js")
import("./HintShowHint.js")
import("./MinerHoleEventDurabilitZeroHint.js")
import("./MinerEventDay1Hint.js")
import("./Button2Type.js")
import("./ShopsEventGoMinerHole.js")
import("./Button2Showtext.js")
import("./ShopsUIitemBoxMouseCloseEff.js")
import("./ShopsUIitemBoxbeChoose.js")
import("./ShopsUIClickBuyButton.js")
import("./ShopsUIdataShow.js")
import("./MinerHoleAnimationHookCarMove.js")
import("./ShopsEventAddItemByJoin.js")
import("./MinerHoleMineralFormation.js")
import ("./MinerVernierSpwn.js")
import ("./Game_GameTextStringBranch.js")
import ("./Game_StringBranchBase.js")
import ("./MinerAnimationMpPhathomGoingDown.js")
import("./MinerMMSpwnPointSet.js")
import ("./MinerLightMangerSpwnLight.js")
import ("./MinerHoleDataPlayerInformationShow.js")


runOnStartup(async runtime => {
    // Code to run on the loading screen.
    // Note layouts, objects etc. are not yet available.
    globalThis.runtime = runtime
    runtime.addEventListener("beforeprojectstart", () => OnBeforeProjectStart(runtime));

});
async function OnBeforeProjectStart(runtime) {
    // Code to run just before 'On start of layout' on
    // the first layout. Loading has finished and initial
    // instances are created and available to use here.
    runtime.addEventListener("tick", () => Tick(runtime));
}
function Tick(runtime) {
    // Code to run every tick
}
